package com.xq.service;

/**
 * 验证码服务的接口
 */
public interface SmsService {

    /**
     * 验证码发送
     * @param phone
     */
    public void sendVerificationCode(String phone);

    /**
     * 验证码校验
     * @param phone
     * @param code
     * @return
     */
    public boolean validateCode(String phone,String code);


}
